package com.whu.exp1jsp.pojo;

import java.util.Date;

import java.time.LocalDateTime;

public class ProductSt {
    private long productId;
    private String productTitle;
    private String productIntro;
    private double productPrice;
    private String productImgs;
    private LocalDateTime publishTime;
    private long ownerId;
    private String location;
    private int status;

    public ProductSt() {
    }
    // 构造函数、getters和setters
    public ProductSt(long productId, String productTitle, String productIntro, double productPrice, String productImgs, LocalDateTime publishTime, long ownerId, String location, int status) {
        this.productId = productId;
        this.productTitle = productTitle;
        this.productIntro = productIntro;
        this.productPrice = productPrice;
        this.productImgs = productImgs;
        this.publishTime = publishTime;
        this.ownerId = ownerId;
        this.location = location;
        this.status = status;
    }

    // Getters and Setters
    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public String getProductTitle() {
        return productTitle;
    }

    public void setProductTitle(String productTitle) {
        this.productTitle = productTitle;
    }

    public String getProductIntro() {
        return productIntro;
    }

    public void setProductIntro(String productIntro) {
        this.productIntro = productIntro;
    }


    public double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(double productPrice) {
        this.productPrice = productPrice;
    }

    public String getProductImgs() {
        return productImgs;
    }


    public void setProductImgs(String productImgs) {
        this.productImgs = productImgs;
    }

    public LocalDateTime getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(LocalDateTime publishTime) {
        this.publishTime = publishTime;
    }

    public long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(long ownerId) {
        this.ownerId = ownerId;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

}